import { result } from "./hp_data.js";
window.onload = function () {
    let result_string = "\<strong\>Response\<\/strong\>\&nbsp\;=\&nbsp\;\{\<br\>\<br\>";
    Object.keys(result).forEach((key, i, keyArr) => {
        result_string = result_string + `\&nbsp\;\&nbsp\;\&nbsp\;\&nbsp\;${key}: \[${result[key]}\] \, \<br\>\<br\>`;
    });
    result_string  = result_string + "\&nbsp\;\}\<br\>";
    console.log(result);
    document.getElementById("data-display").innerHTML = "";
    document.getElementById("data-display").innerHTML = result_string;
}